package com.wkbb.sports.mapper;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.sports.dto.HlifeTeachCourseAttendDto;
import com.wkbb.sports.dto.HlifeTeachCourseDto;
import com.wkbb.sports.dto.StuCourseDetailDto;
import com.wkbb.sports.dto.StuCourseDto;
import com.wkbb.sports.model.*;

import java.util.List;
import java.util.Map;

public interface HlifeCourseMapper extends BaseMapper<HlifeTeachCourse> {

    int delAttendByCourseId(Long id);

    int putCourseSummary(HlifeTeachCourse hlifeTeachCourse);

    int insertAttendList(List<HlifeTeachCourseAttend> attends);

    List<HlifeTeachCourseAttendDto> findCourseAttends(Long id);

    HlifeTeachCourseDto findCourse(HlifeTeachCourse hlifeTeachCourse);

    List<StuCourseDto> getStuCoursePageList(Map<String, Object> map);

    StuCourseDetailDto getStuCourse(Map<String, Object> map);
}